#!/bin/bash
temp=`cat login.log | grep fail`
if [ -n "$temp" ]
then
	echo "is"
fi
echo $temp
